module.exports = {
  title: '头部区',
  type: 'object',
  properties: {
    title: {
      title: '头部标题',
      type: 'string',
      default: '头部标题',
    },
    src: {
      title: '头部图片',
      description: '试试输入新的图片URL: https://vuejs.org/images/logo.png',
      type: 'string',
      default: '头部图片'
    },
    link: {
      title: '头部图片点击跳转',
      type: 'string',
      format: 'url',
      default: '头部图片点击跳转',
    },
    btnurl: {
      title: '按钮图片链接',
      type: 'string',
      format: 'url',
      default: '按钮图片点击跳转',
    },
    btnlink: {
      title: '按钮图片点击跳转',
      type: 'string',
      format: 'url',
      default: '按钮图片点击跳转',
    },
    btns: {
      title: '按钮九宫格',
      description: '按钮图片点击跳转',
      type: 'array',
      items: {
        type: 'object',
        title: '按钮',
        properties: {
          id: {
            title: '编号',
            type: 'number',
            default: '编号信息',
          },
          name: {
            title: '按钮名称',
            type: 'string',
            default: '按钮名称信息',
          },
          btnurl: {
            title: '图片链接',
            type: 'string',
            default: '图片链接信息',
          },
          btnlink: {
            title: '跳转链接',
            type: 'string',
            default: '跳转链接信息',
          },
        }
      },
    }
  }
};
